package org.dawfinn.droiditarian;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

/**
 * Note this activity is not currently used. I kept the placeholder in case we
 * decide we want it in the future. But it was ugly, so I linked straight
 * to the form.
 */
public class ShareDeedIdea extends Activity {
	
	@Override
	public void onCreate(Bundle savedInstance) {
		super.onCreate(savedInstance);
		setContentView(R.layout.share_deeds);
		((Button)findViewById(R.id.share_deed_button)).setOnClickListener(new OnClickListener() {

			public void onClick(View arg0) {
				startActivity(new Intent(Intent.ACTION_VIEW,
						Uri.parse(getString(R.string.share_deeds_form_url))));
			}
		});
	}
}
